@echo off
:: 设置变量
set GOOS=linux
set GOARCH=amd64
set NAME=cdtool
set MAIN_FILE=cmd\mon-%NAME%.go

:: 打印当前配置信息
echo Building for %GOOS%/%GOARCH%
echo Main file: %MAIN_FILE%

:: 编译命令
go build -o %NAME% %MAIN_FILE%

:: 清理环境变量
set GOOS=
set GOARCH=
set MAIN jadx

:: 提示完成
echo Build finished.
pause